package register.pojo;

import java.util.Arrays;
import java.util.Date;



public class User {
	private String name;
	private double sal;
	private String sex;
	private Date birth;
	private byte[] head;
	/**
	 * @param name
	 * @param sal
	 * @param sex
	 * @param birth
	 * @param head
	 */
	public User(String name, double sal, String sex, Date birth, byte[] head) {
		super();
		this.name = name;
		this.sal = sal;
		this.sex = sex;
		this.birth = birth;
		this.head = head;
	}
	/**
	 * 
	 */
	public User() {
		super();
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getSal() {
		return sal;
	}
	public void setSal(double sal) {
		this.sal = sal;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public byte[] getHead() {
		return head;
	}
	public void setHead(byte[] head) {
		this.head = head;
	}
	@Override
	public String toString() {
		return "name=" + name + ", sal=" + sal + ", sex=" + sex
				+ ", birth=" + birth + ", head=" + Arrays.toString(head) ;
	}
	
	
 }
